//------------------------------------------------
//		main.c
//	Blink Example
//	Arthur Benemann 13/11/2010
//------------------------------------------------
//	Description:
//  Minimal code to blink a led on the picDev
//------------------------------------------------

#include "picDev.h"      // Hardware definitions
#include "DELAY/DELAY.h" // Delay library

//-------------------- Main -----------------------
int main( void)
{
    LEDtris = 0;       // Config LED pin as an output

    // main loop
    while(1)
    {
        LED = 1;        // Turn on the led.
        delayms(500);   // Delay of 500ms.
        LED = 0;        // Turn off the led.
        delayms(500);   // Delay of 500ms.
    };
}






